package com.mybatis.mapper;

import com.mybatis.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    int insert(User user);


    int delete(int id);


    int update(User user);

    User select(int id);

    List<User> selectAll();

    User selectUserInfo(@Param("id") Integer id);


    User selectUserShipAddress(@Param("id") Integer id);

    List<User> selectByUserIds(@Param("userIds") List<Integer> userIds);


}